//自己实现阻塞队列
class MyBlockingQueue{
    //首先设置队列的元素类型
    private int[] elems=null;
    //设置头结点和尾结点,队列的大小
    private int head=0;
    private int tail=0;
    private int size=0;
    //设置构造方法
    public MyBlockingQueue(int capacity){
        elems=new int[capacity];
    }
    








}
public class Demo4{









}